package com.sys.dao;

import com.sys.pojo.Khmc;

import java.util.List;

public interface KhmcDao {

    /**
     *查询所有客户
     * @return
     * @throws Exception
     */
    public List<Khmc> getAll()throws RuntimeException;


    /**
     *根据id查询用户
     * @return
     * @throws Exception
     */
    public List<Khmc> getKhmcById(Integer khmcId)throws RuntimeException;
}
